package com.cyl.manager.oms.domain.entity;

import java.math.BigDecimal;
import java.time.LocalDateTime;

import javax.validation.constraints.NotBlank;

import com.ruoyi.common.annotation.Excel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.ruoyi.common.core.domain.BaseAudit;
import lombok.Data;
import com.baomidou.mybatisplus.annotation.TableName;
/**
 * 备货管理对象 oms_order_item_prepare
 * 
 * @author zcc
 */
@ApiModel(description="备货管理对象")
@Data
@TableName("oms_order_item_prepare")
public class OrderItemPrepare extends BaseAudit {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty("ID")
    private Long id;

    @ApiModelProperty("删除标志（0代表存在 2代表删除）")
    private Integer delFlag;

    @ApiModelProperty("直播间部门")
    @Excel(name = "直播间部门")
    private Long deptZbjId;

    @ApiModelProperty("团长部门")
    @Excel(name = "团长部门")
    private Long deptTzId;

    @ApiModelProperty("店铺部门")
    @Excel(name = "店铺部门")
    private Long deptDpId;

    @ApiModelProperty("订单开始时间")
    @Excel(name = "订单开始时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime startTime;

    @ApiModelProperty("订单结束时间")
    @Excel(name = "订单结束时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime endTime;

    @ApiModelProperty("锁单id")
    @Excel(name = "锁单id")
    private Long lockId;
    
    @ApiModelProperty("商品id")
    @Excel(name = "商品id")
    private Long productId;

    @ApiModelProperty("商品名称")
    @Excel(name = "商品名称")
    private String productName;

    @ApiModelProperty("商品sku id")
    @Excel(name = "商品sku id")
    private Long skuId;

    
    @ApiModelProperty("sku编码")
    @Excel(name = "sku编码")
    private String outSkuId;

    @ApiModelProperty("商品sku属性")
    @Excel(name = "商品sku属性")
    private String spData;


    @ApiModelProperty("金额")
    @Excel(name = "金额")
    private BigDecimal salePrice;
    
    @ApiModelProperty("图片")
    @Excel(name = "图片")
    private String pic;
    
    
    @ApiModelProperty("数量")
    @Excel(name = "数量")
    private Long skuSum;

    @ApiModelProperty("备货状态0创建锁单，1订单锁定，2备货中，3已发货 ,4已到货")
    @Excel(name = "备货状态0创建锁单，1订单锁定，2备货中，3已发货 ,4已到货")
    private String bhZt;

    @ApiModelProperty("供应商")
    @Excel(name = "供应商")
    private Long deptGysId;

    @ApiModelProperty("备货时间")
    @Excel(name = "备货时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime bhTime;

    @ApiModelProperty("签收时间")
    @Excel(name = "签收时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime qsTime;

    @ApiModelProperty("签收人id")
    @Excel(name = "签收人id")
    private Long memberId;
   
    
    @ApiModelProperty("快递公司")
    @Excel(name = "快递公司")
    private String expressmc;

    @ApiModelProperty("运单号")
    @Excel(name = "运单号")
    private String expressbh;
    
    @Excel(name = "店铺电话")
    private String dpdh;
    
    @Excel(name = "店铺联系人")
    private String dplxr;
	
    @Excel(name = "店铺地址")
    private String address;

    /** 直播间部门 */
    @Excel(name = "直播间名称")
    private String deptZbjMc;
    
   /** 店铺部门 */
    @Excel(name = "店铺部门名称")
    private String deptDpMc;
    
    @ApiModelProperty("总订单数")
    @Excel(name = "总订单数")
    private Integer ordernum;
    	

}
